package com.cande.loki.exercise.manythread.affinity;

import net.openhft.affinity.AffinityLock;

import java.time.LocalDate;

public class Test {
    public static void main(String[] args) {

        System.out.println(LocalDate.now().getDayOfMonth());
        System.out.println(LocalDate.now().getDayOfWeek());
        System.out.println(LocalDate.now().getDayOfYear());
//        try (AffinityLock affinityLock = AffinityLock.acquireLock(2)) {
//            while (true) {
//                System.out.println("1");
//            }
//        }
    }
}
